package com.ruoyi.biz.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 作业提交对象 biz_submit_work
 * 
 * @author lhb
 * @date 2025-02-24
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BizSubmitWork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @Excel(name = "主键id")
    private Long id;

    /** 作业id */
    @Excel(name = "作业id")
    private Long workId;

    private String workTitle; // 作业标题

    /** 学生id */
    @Excel(name = "学生id")
    private Long studentId;

    private String studentName; // 学生名称

    /** 作业附件 */
    @Excel(name = "作业附件")
    private String attachments;

    /** 教师评语 */
    @Excel(name = "教师评语")
    private String comment;

    /** 教师评分 */
    @Excel(name = "教师评分")
    private Long score;

    /** 作业状态 */
    @Excel(name = "作业状态")
    private Long state;

    // 查重状态
    private int reviewState;

    // 查重率
    private BigDecimal duplicateCheckingRate;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;

    /** 逻辑删除 */
    private Integer isDelete;
}
